/*--------------------------------------------------*/
/*VirtualSociety System ServiceModuleTemplate Main File*/
/*CreateBy SRPLab                */
/*CreateDate: 2011-3-29  */
/*--------------------------------------------------*/
#include "SRPSAGGLibEngine_VSHeader.h"

/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*Function SAggTransFormClass Is Extracted From ScriptFile */
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
#define SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX                                                        0x00000001
#define SAGGTRANSFORMCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX                                            0X00000002
#define SAGGTRANSFORMCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX                                             0X00000003
#define SAGGTRANSFORMCLASS_CLEAR_FUNCRETURN_DEPENDINDEX                                              0X00000004
#define SAGGTRANSFORMCLASS_CLEAR_FUNCPARAM_DEPENDINDEX                                               0X00000005
#define SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCRETURN_DEPENDINDEX                                        0X00000006
#define SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCPARAM_DEPENDINDEX                                         0X00000007
#define SAGGTRANSFORMCLASS_TRANSLATE_FUNCRETURN_DEPENDINDEX                                          0X00000008
#define SAGGTRANSFORMCLASS_TRANSLATE_FUNCPARAM_DEPENDINDEX                                           0X00000009
#define SAGGTRANSFORMCLASS_C_ROTATE_FUNCRETURN_DEPENDINDEX                                           0X0000000A
#define SAGGTRANSFORMCLASS_C_ROTATE_FUNCPARAM_DEPENDINDEX                                            0X0000000B
#define SAGGTRANSFORMCLASS_ROTATE_FUNCRETURN_DEPENDINDEX                                             0X0000000C
#define SAGGTRANSFORMCLASS_ROTATE_FUNCPARAM_DEPENDINDEX                                              0X0000000D
#define SAGGTRANSFORMCLASS_C_SCALE_FUNCRETURN_DEPENDINDEX                                            0X0000000E
#define SAGGTRANSFORMCLASS_C_SCALE_FUNCPARAM_DEPENDINDEX                                             0X0000000F
#define SAGGTRANSFORMCLASS_SCALE_FUNCRETURN_DEPENDINDEX                                              0X00000010
#define SAGGTRANSFORMCLASS_SCALE_FUNCPARAM_DEPENDINDEX                                               0X00000011
#define SAGGTRANSFORMCLASS_C_FLIPX_FUNCRETURN_DEPENDINDEX                                            0X00000012
#define SAGGTRANSFORMCLASS_C_FLIPX_FUNCPARAM_DEPENDINDEX                                             0X00000013
#define SAGGTRANSFORMCLASS_FLIPX_FUNCRETURN_DEPENDINDEX                                              0X00000014
#define SAGGTRANSFORMCLASS_FLIPX_FUNCPARAM_DEPENDINDEX                                               0X00000015
#define SAGGTRANSFORMCLASS_C_FLIPY_FUNCRETURN_DEPENDINDEX                                            0X00000016
#define SAGGTRANSFORMCLASS_C_FLIPY_FUNCPARAM_DEPENDINDEX                                             0X00000017
#define SAGGTRANSFORMCLASS_FLIPY_FUNCRETURN_DEPENDINDEX                                              0X00000018
#define SAGGTRANSFORMCLASS_FLIPY_FUNCPARAM_DEPENDINDEX                                               0X00000019

VS_INT32 SRPCALLBACK SAggTransFormClass_QueryObjectInfo(VS_OBJECTMODULEINFO *VSObjectModuleInfo)
{
    VSObjectModuleInfo -> ObjectVersion = 0;
    VSObjectModuleInfo -> ObjectSubVersion = 0;
    VSObjectModuleInfo -> ObjcetBugFixVersion = 0;
    VSObjectModuleInfo -> VSVersion = 0;
    VSObjectModuleInfo -> VSSubVersion = 0;

    VSObjectModuleInfo -> CreateTime.wYear = 2011;
    VSObjectModuleInfo -> CreateTime.wMonth = 3;
    VSObjectModuleInfo -> CreateTime.wDay = 29;
    VSObjectModuleInfo -> UpdateTime.wYear = 2011;
    VSObjectModuleInfo -> UpdateTime.wMonth = 3;
    VSObjectModuleInfo -> UpdateTime.wDay = 29;

    strcpy( VSObjectModuleInfo -> AuthorityInfo, "" );
    strcpy( VSObjectModuleInfo -> LicenseInfo, "" );
    strcpy( VSObjectModuleInfo -> ExtendInfo, "" );

    return 0;
}

VS_INT32 SRPCALLBACK SAggTransFormClass_RequestRegisterObject()
{
    VS_DEPENDATTRIBUTE LocalDependAttribute[512];  /*---set a large number*/
    VS_INT32 DependIndexNumber,DependIndex[64];

    //------register object depend
    VSATTRDEPEND_SAGGTRANSFORMCLASS(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX,VSOBJID_SAggTransFormClass,VSMODULEDEPEND_OBJECT,VSATTRDEPENDNUM_SAGGTRANSFORMCLASS,LocalDependAttribute);

    //------register function depend
    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Clear,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_CLEAR,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Clear,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_CLEAR,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_CLEAR_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Clear,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_CLEAR,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_CLEAR(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_CLEAR_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Clear,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_CLEAR,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_TRANSLATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Translate,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_TRANSLATE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_TRANSLATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Translate,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_TRANSLATE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_TRANSLATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_TRANSLATE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Translate,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_TRANSLATE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_TRANSLATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_TRANSLATE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Translate,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_TRANSLATE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_ROTATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_ROTATE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Rotate,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_ROTATE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_ROTATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_ROTATE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Rotate,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_ROTATE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_ROTATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_ROTATE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Rotate,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_ROTATE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_ROTATE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_ROTATE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Rotate,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_ROTATE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_SCALE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_SCALE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Scale,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_SCALE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_SCALE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_SCALE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_Scale,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_SCALE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_SCALE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_SCALE_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Scale,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_SCALE,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_SCALE(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_SCALE_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_Scale,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_SCALE,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_FLIPX(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_FLIPX_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_FlipX,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_FLIPX,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_FLIPX(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_FLIPX_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_FlipX,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_FLIPX,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_FLIPX(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_FLIPX_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_FlipX,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_FLIPX,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_FLIPX(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_FLIPX_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_FlipX,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_FLIPX,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_C_FLIPY(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_FLIPY_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_FlipY,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_C_FLIPY,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_C_FLIPY(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_C_FLIPY_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_C_FlipY,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_C_FLIPY,LocalDependAttribute);

    VSFUNCRETURNDEPEND_SAGGTRANSFORMCLASS_FLIPY(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_FLIPY_FUNCRETURN_DEPENDINDEX,VSFUNCID_SAggTransFormClass_FlipY,VSMODULEDEPEND_FUNCRETURN,VSFUNCRETURNDEPENDNUM_SAGGTRANSFORMCLASS_FLIPY,LocalDependAttribute);

    VSFUNCPARAMDEPEND_SAGGTRANSFORMCLASS_FLIPY(LocalDependAttribute);
    pSRP -> RegisterObjectDependency( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,SAGGTRANSFORMCLASS_FLIPY_FUNCPARAM_DEPENDINDEX,VSFUNCID_SAggTransFormClass_FlipY,VSMODULEDEPEND_FUNCPARA,VSFUNCPARAMDEPENDNUM_SAGGTRANSFORMCLASS_FLIPY,LocalDependAttribute);

    //------object function
    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_CLEAR_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_CLEAR_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_Clear,(void *)SAggTransFormClass_C_Clear,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_CLEAR_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_CLEAR_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_Clear,(void *)SAggTransFormClass_Clear,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_TRANSLATE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_Translate,(void *)SAggTransFormClass_C_Translate,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_TRANSLATE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_TRANSLATE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_Translate,(void *)SAggTransFormClass_Translate,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_ROTATE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_ROTATE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_Rotate,(void *)SAggTransFormClass_C_Rotate,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_ROTATE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_ROTATE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_Rotate,(void *)SAggTransFormClass_Rotate,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_SCALE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_SCALE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_Scale,(void *)SAggTransFormClass_C_Scale,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_SCALE_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_SCALE_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_Scale,(void *)SAggTransFormClass_Scale,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_FLIPX_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_FLIPX_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_FlipX,(void *)SAggTransFormClass_C_FlipX,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_FLIPX_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_FLIPX_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_FlipX,(void *)SAggTransFormClass_FlipX,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_C_FLIPY_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_C_FLIPY_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_C_FlipY,(void *)SAggTransFormClass_C_FlipY,DependIndexNumber,DependIndex);

    DependIndexNumber = 3;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    DependIndex[1] = SAGGTRANSFORMCLASS_FLIPY_FUNCRETURN_DEPENDINDEX;
    DependIndex[2] = SAGGTRANSFORMCLASS_FLIPY_FUNCPARAM_DEPENDINDEX;
    pSRP -> RegisterObjectFunction( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,VSFUNCID_SAggTransFormClass_FlipY,(void *)SAggTransFormClass_FlipY,DependIndexNumber,DependIndex);

    //------object sysevent process
    DependIndexNumber = 1;
    DependIndex[0] = SAGGTRANSFORMCLASS_OBJECT_DEPENDINDEX;
    pSRP -> RegisterObjectSysEvent( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,(void *)SAggTransFormClass_OnSystemEvent,DependIndexNumber,DependIndex);

    //------object message process
    pSRP -> RegisterQueryObjectInfo( VSIMPORTMODULEID_BasicModule,VSOBJID_SAggTransFormClass,(void *)SAggTransFormClass_QueryObjectInfo);

    return 0;
}

